text/template/parse.Tree.expect (method)
4 uses
text/template/parse (current package)
parse.go#L173: func (t *Tree) expect(expected itemType, context string) item {
parse.go#L333: t.expect(itemRightDelim, context)
parse.go#L580: return t.newEnd(t.expect(itemRightDelim, "end").pos)
parse.go#L593: token := t.expect(itemRightDelim, "else")
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)